const express = require('express');
const expressStatic = require('express-static');
var server = express();

server.listen(8080);

//指定去哪儿读 静态文件
server.use(expressStatic('./www'));

// localhost:8080/a.html
